-
Notifications
You must be signed in to change notification settings - Fork 21.1k
core/txpool/blobpool: upgrade blobpool #32146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…needs a full db rewrite. Can we do without?
…needs a full db rewrite. Can we do without?
@mask-pp , was there a specific reason you made everything in |
This PR aims to avoid deleting from |
Maybe we change the size of |
The data flow in the original code is not ideal for larger throughput, I agree. My question is however specific to your change of making everything public in blobTxMeta, which is like 90% of the lines changed by the PR. Is that necessary for some reason? |
Oh sorry, this PR is not mature. change blobTxMeta wants to reuse the struct so that the object can be encoded and stored in the database. |
2b6855c
to
98af70f
Compare
Hi friends @cskiraly and @rjl493456442, sorry to bother you, the PR is combined into avoid_restore_blob_tx. Plz review again, tks. |
Due to the large size of blob transactions, the goal of this PR is to reduce unnecessary repeated operations of extracting, storing, and retrieving blob transactions. As a result, only the transaction metadata is stored in
limbo
.In the event of a reorganization, transactions will not be deleted from
blobpool.store
. Instead, their metadata will be transferred tolimbo
storage. When the finalization occurs,blobpool.store
will be triggered to delete these transactions.